package cn.hnu.qq.entity.message;

import cn.hnu.qq.global.MessageType;

public class SendFileMessage extends Message {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static int OK = 1;
	
	public static int CANCEL = 0;
	
	public static int NOT_CHOOSE = -1;
	
	private int choose = NOT_CHOOSE;
	
	private String user;
	
	private Integer port;//文件端口
	
	private String ip; //文件ip
	
	private String fileName;
	
	private long fileSize = 0l;
	
	private String absPath;
	
	public SendFileMessage() {
		setMessageType(MessageType.SEND_FILE);
	}

	public int getChoose() {
		return choose;
	}

	public void setChoose(int choose) {
		this.choose = choose;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	public String getAbsPath() {
		return absPath;
	}

	public void setAbsPath(String absPath) {
		this.absPath = absPath;
	}
	
	

}
